package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

/**
 * <p>
 * 服务人员认证信息审核表 服务类
 * </p>
 *
 * @author itcast
 * @since 2023-09-06
 */
public interface IWorkerCertificationAuditService extends IService<WorkerCertificationAudit> {

    /**
     * 分页查询
     *
     * @param dto 查询条件
     * @return 分页结果
     */
    PageResult<WorkerCertificationAuditResDTO> page(WorkerCertificationAuditPageQueryReqDTO dto);

    /**
     * 服务人员认证审核
     * @param id
     * @param rejectReason
     * @param certificationStatus
     */
    void audit(Long id, String rejectReason, Integer certificationStatus);
}
